package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 排课表
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("course_scheduling")
@ApiModel(value = "CourseScheduling对象", description = "排课表")
public class CourseScheduling implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    private Long id;

    private Long schoolId;

    @ApiModelProperty("班级id")
    private Long gradeId;

    @ApiModelProperty("课程id")
    private Long courseId;

    @ApiModelProperty("上课日期，多个用逗号隔开")
    private String attendClassDates;

    @ApiModelProperty("上课时段开始")
    private String timeStart;

    @ApiModelProperty("上课时段结束")
    private String timeEnd;

    private String startHouse;

    private String endHouse;

    private String startMinute;

    private String endMinute;

    @ApiModelProperty("排课方式，1自由排课，2是重复排课")
    private Integer arrangingWay;

    @ApiModelProperty("上课老师")
    private Long teacherId;

    @ApiModelProperty("助教id")
    private Long assistantId;

    @ApiModelProperty("上课教室id")
    private Long classRoomId;

    @ApiModelProperty("科目id")
    private Long subjectsId;

    @ApiModelProperty("创建人")
    private Long createdId;

    private Integer deleted;

    @ApiModelProperty("created_at")
    private LocalDateTime createdAt;

    @ApiModelProperty("updated_at")
    private LocalDateTime updatedAt;

    @ApiModelProperty("deleted_at")
    private LocalDateTime deletedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }
    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }
    public String getAttendClassDates() {
        return attendClassDates;
    }

    public void setAttendClassDates(String attendClassDates) {
        this.attendClassDates = attendClassDates;
    }
    public String getTimeStart() {
        return timeStart;
    }

    public void setTimeStart(String timeStart) {
        this.timeStart = timeStart;
    }
    public String getTimeEnd() {
        return timeEnd;
    }

    public void setTimeEnd(String timeEnd) {
        this.timeEnd = timeEnd;
    }
    public String getStartHouse() {
        return startHouse;
    }

    public void setStartHouse(String startHouse) {
        this.startHouse = startHouse;
    }
    public String getEndHouse() {
        return endHouse;
    }

    public void setEndHouse(String endHouse) {
        this.endHouse = endHouse;
    }
    public String getStartMinute() {
        return startMinute;
    }

    public void setStartMinute(String startMinute) {
        this.startMinute = startMinute;
    }
    public String getEndMinute() {
        return endMinute;
    }

    public void setEndMinute(String endMinute) {
        this.endMinute = endMinute;
    }
    public Integer getArrangingWay() {
        return arrangingWay;
    }

    public void setArrangingWay(Integer arrangingWay) {
        this.arrangingWay = arrangingWay;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public Long getAssistantId() {
        return assistantId;
    }

    public void setAssistantId(Long assistantId) {
        this.assistantId = assistantId;
    }
    public Long getClassRoomId() {
        return classRoomId;
    }

    public void setClassRoomId(Long classRoomId) {
        this.classRoomId = classRoomId;
    }
    public Long getSubjectsId() {
        return subjectsId;
    }

    public void setSubjectsId(Long subjectsId) {
        this.subjectsId = subjectsId;
    }
    public Long getCreatedId() {
        return createdId;
    }

    public void setCreatedId(Long createdId) {
        this.createdId = createdId;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }
    public LocalDateTime getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(LocalDateTime updatedAt) {
        this.updatedAt = updatedAt;
    }
    public LocalDateTime getDeletedAt() {
        return deletedAt;
    }

    public void setDeletedAt(LocalDateTime deletedAt) {
        this.deletedAt = deletedAt;
    }

    @Override
    public String toString() {
        return "CourseScheduling{" +
            "id=" + id +
            ", schoolId=" + schoolId +
            ", gradeId=" + gradeId +
            ", courseId=" + courseId +
            ", attendClassDates=" + attendClassDates +
            ", timeStart=" + timeStart +
            ", timeEnd=" + timeEnd +
            ", startHouse=" + startHouse +
            ", endHouse=" + endHouse +
            ", startMinute=" + startMinute +
            ", endMinute=" + endMinute +
            ", arrangingWay=" + arrangingWay +
            ", teacherId=" + teacherId +
            ", assistantId=" + assistantId +
            ", classRoomId=" + classRoomId +
            ", subjectsId=" + subjectsId +
            ", createdId=" + createdId +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
            ", updatedAt=" + updatedAt +
            ", deletedAt=" + deletedAt +
        "}";
    }
}
